package com.campus.counseling.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.counseling.entity.SysRole;

import java.util.List;

public interface SysRoleService extends IService<SysRole> {
    Page<SysRole> getRolePage(Integer pageNum, Integer pageSize, String roleName);
    void addRole(SysRole role);
    void updateRole(SysRole role);
    void deleteRole(Long roleId);
    void assignRoleMenu(Long roleId, List<Long> menuIds);
    List<Long> getRoleMenuIds(Long roleId);
} 